import appLogin from '@/views/login/appLogin.vue'
import { ErrorPage404 } from '@/router/modules/errorRouter'

/**
 * @ClassName baseRouter
 * @Description 基础路由
 * @Author xuyizhuo
 * @Date 2024/12/20 21:16
 * @example
 */
const baseRouter: RouteConfigsTable[] = [
    /** 登录路由 */
    {
        path: '/login',
        meta: {
            title: '登录',
        },
        component: appLogin,
    },
    /** 未匹配到路径跳转404 */
    {
        path: '/:pathMatch(.*)*',
        meta: {
            title: '错误',
        },
        component: ErrorPage404,
    },
]

export default baseRouter
